package com.czmh.etc.onlinepubsys.feign.newrun.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * Created by Xiruo on 2017/7/1.
 */
@Data
public abstract class XBaseEntity implements Serializable {

    public final static int USE_FLAG_INVALID = 0;
    public final static int USE_FLAG_VALID = 1;
    @ApiModelProperty(name = "id", value = "表主键id", example = "")
    private String id;
    @ApiModelProperty(name = "orgId", value = "机构id", example = "0")
    private String orgId;
    @ApiModelProperty(name = "s", value = "每页展示数量", example = "20")
    private Integer s = 20;
    @ApiModelProperty(name = "p", value = "页码", example = "1")
    private Integer p = 0;
    @ApiModelProperty(name = "orderField", value = "排序字段")
    private String orderField;
    @ApiModelProperty(name = "orderString", value = "排序字符串")
    private String orderString;
    @ApiModelProperty(name = "command", value = "命令")
    private String command;
}
